package com.sanyuan.cloud.module.system.controller.admin.nongmo.req;

import com.sanyuan.cloud.module.system.annotation.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: PositionAssignReq
 * @Author: wuyuwei
 * @Date: 2025/3/21
 */
@Data
public class PositionAssignReq {

    /**
     * 标点id
     */
    @NotNull(message = "标点id不能为空", groups = {UpdateGroup.class})
    private Long id;
    /**
     * 业务员用户id
     */
    @NotNull(message = "用户id不能为空", groups = {UpdateGroup.class})
    private Long userId;
}
